import request from "@/utils/request";

// 题目表分页查询
export function questionPageByQo(params) {
  return request({
    url: "/dinner/paper/question/pageByQo",
    method: "post",
    params
  });
}

// 得到答题试卷
export function getPaper(params) {
  return request({
    url: "/dinner/paper/paper",
    method: "post",
    params
  });
}

// 答题
export function saveAnswer(params) {
  return request({
    url: "/dinner/paper/answer/answer",
    method: "post",
    params
  });
}